package aiku.numericalcontroloa.Model.Entity.OrderManagement;

import aiku.numericalcontroloa.Model.Entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 提成表
 * @Author 黄广庭
 * @Date 2024/4/22 16:12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "order_commission")
public class OrderCommission extends BaseEntity implements Serializable {
    /**
     * 员工id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 提成点
     */
    @TableField(value = "commission")
    private Float commission;
}
